use the correct lookup table.
authorSven Neumann <sven@gimp.org>
Tue, 22 Jan 2008 09:38:23 +0000 (09:38 +0000)
committerSven Neumann <neo@src.gnome.org>
Tue, 22 Jan 2008 09:38:23 +0000 (09:38 +0000)
2008-01-22  Sven Neumann  <sven@gimp.org>

* extensions/gimp-8bit.c (u8_gamma_2_2_to_float_linear): use the
correct lookup table.

svn path=/trunk/; revision=276

ChangeLog
extensions/gimp-8bit.c

index 74324d49663bdd8b32aded372dbc03df2ccc21a6..2f0d55e75a2a3506374f5db94cb139a64e2f33bb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-22  Sven Neumann  <sven@gimp.org>
+
+       * extensions/gimp-8bit.c (u8_gamma_2_2_to_float_linear): use the
+       correct lookup table.
+
 2008-01-20  Øyvind Kolås  <pippin@gimp.org>
 
        Always use BablFishPath's for accepted conversions. The path
index ec187b45becb13c00796c6ea25efb801670cc782..4bbaccd9feb80d10903a9cb6b502afcd1dfd975e 100644 (file)
@@ -74,7 +74,7 @@ u8_gamma_2_2_to_float_linear (unsigned char *src,
   long   n = samples;
 
   while (n--)
-    *d++ = lut_linear[*src++];
+    *d++ = lut_gamma_2_2[*src++];
 
   return samples;
 }